package BlogMybatis.blog.service;

import BlogMybatis.blog.pojo.Message;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Brandt
 * @since 2020-06-17
 */
public interface MessageService extends IService<Message> {

    //查询留言列表
    List<Message> listMessage();

    int saveMessage(Message message);

    //找到父级评论，给他发送qq邮件信息
    void findParentMessage(Message message);

}
